Let's evenly space the columns by adding value to the variable x each time we loop through.

  • Change the width of the rectangle to 40. Change the height to 10. Change the color to "yellow".
  • Drag Add Value into the nested column loop.
  • Change the name to x and change the value to 80.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)